<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<s:include value="menu.jsp"/>
	<a href="<s:url action="AddPermission"/>">Add New Permission</a>
	<table>
		<tr>
			<th>Permission</th>
			<th>Description</th>
		</tr>
	<s:iterator value="permissionList">
		<tr>
			<td><s:property value="permission"/></td>
			<td><s:property value="description"/></td>
			<s:url action="EditPermission" var="url">
				<s:param name="id" value="id"/>
			</s:url>
			<td><a href="<s:property value="#url"/>">Edit</a></td>
		</tr>
	</s:iterator>
	</table>
</body>
</html>